cast to object

This block is part of the type casting group and was last modified in core v10.4.28.

cast to object v10.4.28

Converts the given value into an object.

In pins 1
  • Value required
    value

    Specifies the value to be converted into an object.

Out pins 1
  • Object
    object

    Represents the object obtained from the conversion of the input value.

A typical wiring for cast to object: Request: DELETE feeds the value pin; the object out pin feeds reply in JSON.

Studio canvas example for the cast to object block: typical wiring for cast to object.

Commonly used with

In production blueprints, this block is most often wired together with:

  • Request: DELETE: feeds into this block. Performs an HTTP DELETE request to remove a resource at the specified URL. Returns the response as a string value.
  • reply in JSON: this block feeds into it. Reply to any httpconnection as JSON body.

Version history

Introduced in v10.4.28.


Back to type casting Return to the main group to view all sub-groups Back to value Return to the group to view all blocks within this group